ActiveReports 19 .NET Edition
MESCIUS.ActiveReports.Core.Rdl Assembly / GrapeCity.ActiveReports.PageReportModel Namespace / ItemCollection<T> Class / IndexOf Method
A T object to locate in the ItemCollection<T>.

In This Topic
    IndexOf Method (ItemCollection<T>)
    In This Topic
    Determines the index of a specific T object in the ItemCollection<T>.
    Syntax
    'Declaration
     
    Public Function IndexOf( _
       ByVal item As T _
    ) As Integer
    public int IndexOf( 
       T item
    )

    Parameters

    item
    A T object to locate in the ItemCollection<T>.

    Return Value

    An System.Int32 value indicating the index of the entry if it was found in the collection; otherwise, -1.
    See Also